bitkeeper revision 1.1062.3.5 (40f2b453MO6YQxYlbqwoeVouYIGBEw)
authormjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>
Mon, 12 Jul 2004 15:54:59 +0000 (15:54 +0000)
committermjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>
Mon, 12 Jul 2004 15:54:59 +0000 (15:54 +0000)
Add missing arg to xfr calls.

tools/python/xen/xend/XendMigrate.py

index 543c1cbd421f1d57a2bf67ae9773fdc4e335d234..216ed4432cf5cce388c8614c29f0451006ad0c3f 100644 (file)
@@ -134,11 +134,11 @@ class XfrdInfo:
         #    print >>sys.stdout, "Error unpausing domain:", self.src_dom
         return None
 
-    def xfr_progress(self, val):
+    def xfr_progress(self, xfrd, val):
         print 'xfr_progress>', val
         return None
 
-    def xfr_vm_pause(self, val):
+    def xfr_vm_pause(self, xfrd, val):
         print 'xfr_vm_pause>', val
         try:
             vmid = sxp.child0(val)
@@ -147,7 +147,7 @@ class XfrdInfo:
             val = errno.EINVAL
         return ['xfr.err', val]
 
-    def xfr_vm_unpause(self, val):
+    def xfr_vm_unpause(self, xfrd, val):
         print 'xfr_vm_unpause>', val
         try:
             vmid = sxp.child0(val)
@@ -156,7 +156,7 @@ class XfrdInfo:
             val = errno.EINVAL
         return ['xfr.err', val]
 
-    def xfr_vm_suspend(self, val):
+    def xfr_vm_suspend(self, xfrd, val):
         print 'xfr_vm_suspend>', val
         try:
             vmid = sxp.child0(val)